//
// Created on 2024/12/7.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#ifndef QT_IMESSAGEHANDLER_H
#define QT_IMESSAGEHANDLER_H

#include <string>

namespace FB {
class IMessageHandler {
public:
    virtual std::string getName() const = 0;
    virtual void onMessage(const std::string &fun, const void* message) const = 0;
};
}
#endif //QTDEMO_IMESSAGEHANDLER_H
